/*
 * BanBu_DynamicController
 * @description 本文件提供来访记录界面的ViewController
 * @package
 * @author 		***
 * @copyright
 * @version 		1.0
 * @description 本文件提供来访记录界面的ViewController
 */

#import <UIKit/UIKit.h>
#import "EGORefreshTableViewController.h"
#import "BanBu_GridCell.h"
#import "BanBu_LocationManager.h"

#import "AKSegmentedControl.h"
@class SVSegmentedControl;
#import "UIBadgeView.h"

@class BanBu_NavButton;
typedef enum {
    DisplayFriendsNews = 0,
    DisplayVisitRecord
} ADisplayType;

@interface BanBu_DynamicController : EGORefreshTableViewController<AKSegmentedControlDelegate,BanBu_GridCellDelegate,BanBu_LocationManagerDelegate>{
//    BOOL _change;
    
    NSMutableArray *contentArr;
    UIImageView *cryImageView;
    UILabel *noticeLabel;
    BanBu_NavButton *recordButton;
    NSInteger gridViewRow;

    AKSegmentedControl *segmentController;
    UIImageView *friendOnline;
    UIImageView *followOnline;
    NSInteger selectIndex;
}


@property(nonatomic,retain) NSMutableArray *dataArr;
@property(nonatomic, assign)ADisplayType type;
@property(nonatomic,retain)NSString *number;
-(id)initWithDynamicDisplayType:(ADisplayType)type;


@property (assign, nonatomic) BOOL fromDialog;
@property (retain, nonatomic) UIBadgeView * badgeViewTalk;
@property (retain, nonatomic) UIBadgeView * badgeViewRecord;

@property (retain, nonatomic) UIImageView * redImage;//有新消息时提示
@end
